package com.macro.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 观光车图片参数 Created by macro on 2018/4/26.
 */
@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class BmsExhibitionsActivities implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("标题")
    @NotNull(message = "标题不能为空")
    private String title;

    @ApiModelProperty("展览类型（字典表维护）")
    @NotNull(message = "展览类型不能为空")
    private Long type;

    @ApiModelProperty("开幕时间")
    @NotNull(message = "开幕时间不能为空")
    private LocalDateTime openingTime;

    @ApiModelProperty("是否长期：0-否；1-是；")
    @NotNull(message = "是否长期不能为空")
    private Integer isLongTem;

    @ApiModelProperty("结束时间")
    private LocalDateTime closeingTime;

    @ApiModelProperty("举办地址")
    private String address;

    @ApiModelProperty("是否免费：0-收费；1-免费；")
    @NotNull(message = "是否免费不能为空")
    private Integer isFree;

    @ApiModelProperty("费用")
    private BigDecimal cost;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("VR地址")
    private String vrUrl;

    @ApiModelProperty("封面图片")
    private String coverPic;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private Long updateUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("删除标记")
    private Boolean isDelete;

    private String pic;

    private String vrPic;

    @ApiModelProperty("展览活动实景图图片路径")
    @NotNull(message = "展览活动实景图不能为空")
    private List<String> picList;

    @Override
    public String toString() {
        return "BmsExhibitionsActivities{" + "id=" + id + ", title='" + title + '\'' + ", type=" + type
                + ", openingTime=" + openingTime + ", isLongTem=" + isLongTem + ", closeingTime=" + closeingTime
                + ", address='" + address + '\'' + ", isFree=" + isFree + ", cost=" + cost + ", description='"
                + description + '\'' + ", vrUrl='" + vrUrl + '\'' + ", coverPic='" + coverPic + '\'' + ", createUser="
                + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser + ", updateTime="
                + updateTime + ", remark='" + remark + '\'' + ", isDelete=" + isDelete + ", pic='" + pic + '\''
                + ", vrPic='" + vrPic + '\'' + '}';
    }
}
